<html>

	<head>
		<title></title>

	</head>

	<body>
		{foreach $data as $val}
		{$val.text}<br />
		{/foreach}
	<input type="text" name="username" />
	<input type="password" name="password" />
	<input type="submit" value="提交" />
	{if isset($pager)}
		{if $pager->getPages() > 1}
		<div class="pages fl mt5">
		  {if $pager->getPage() > 1}
		      <a href="{$pager->link($pager->prev())}" class="prev"><span>prev</span></a>
		  {/if}

			{foreach $pager->getPagesArray(10) as $val}
			  {if $pager->getPage() == $val}
			    {$val}
			  {else}
			  <a href="{$pager->link($val)}">{$val}</a>
			  {/if}
			{/foreach}

		  {if $pager->getPage() < $pager->getPages()}
		      <a href="{$pager->link($pager->next())}" class="next"><span>next</span></a>
		  {/if}
		</div>
		{/if}
	{/if}
</body>

</html>
